<?php
/**
 * @Author: rocky
 * Date: 2019/9/24
 * Time: 9:44
 */


namespace app\shop\model;
use app\common\model\BaseModel;

class ShopStoreGoodsSpec extends BaseModel
{
    protected function getThumbAttr($val){
        return $this->getImgUrl($val);
    }
    public function goods(){
        return $this->belongsTo(ShopStoreGoods::class,'gid');
    }
    
}